home *** CD-ROM | disk | FTP | other *** search
/ MacFormat UK 164 - Disc 2 / MF_UK_164_2.iso / DiscContents / Games / Football Manager 2006 / Install Mac FM2006 Gold Demo.dmg / FM2006 Gold Demo / data / panels / file select.xml < prev    next >
Encoding:
Extensible Markup Language  |  2005-09-25  |  5.3 KB  |  129 lines

  1. Ôªø<?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE container SYSTEM "http://www.sigames.com/dtds/container.dtd">
  3.  
  4. <panel title="File Select Box" id="dlog">
  5.     <!-- stick all items to width of box -->
  6.     <layout class="arrange_vertical_attachment" alignment="top,extend" offset="0" />
  7.     <layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true" inset="0"/>
  8.  
  9.     <!-- make dialog moveable -->
  10.     <attachment class="moveable_attachment"/>
  11.  
  12.     <!-- header showing path and up button -->
  13.     <container>
  14.         <layout class="arrange_vertical_attachment" alignment="top,extend" offset="0" gap="0" />
  15.         <layout class="fit_children_attachment" alignment="vertical,fill" offset="0" gap="0" />
  16.         <layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true" insed="0"/>
  17.  
  18.         <widget class="label" id="prpt" spec="text,large" auto_size="vertical"/>
  19.  
  20.         <container height="10" />
  21.  
  22.         <container>
  23.         
  24.             <layout class="stick_to_sides_attachment" alignment="right,top" layout_children="true" />
  25.             <layout class="fit_children_attachment" alignment="vertical"/>
  26.             <layout class="arrange_horizontal_attachment" alignment="right,extend" gap="0" offset="0"/>
  27.             
  28.             <container>
  29.                 <layout class="arrange_horizontal_attachment" alignment="right, extend" offset="0" gap="0" />
  30.                 <layout class="stick_to_sides_attachment" alignment="top" inset="0" layout_children="true"/>
  31.                 <layout class="fit_children_attachment" alignment="vertical" offset="0" gap="0" />
  32.                 <layout class="fit_children_attachment" alignment="horizontal,fill" gap="0"/>
  33.  
  34.                 <widget class="label" spec="text,large" text="Location:" auto_size="horizontal" />
  35.                 <widget class="popup_button_blue" id="path" sele="path" auto_size="all"/>
  36.                 <widget class="popup_button_blue" id="refo" sele="refo" auto_size="all" fixed="true" text="Recent[COMMENT: file dialogs: recent folder list: menu label]" />
  37.                 <widget class="action_button_blue" id="prnt" text="Up" clke="prnt" auto_size="all" />
  38.             </container>
  39.         </container>
  40.     </container>
  41.  
  42.     <!-- main panel and buttons -->
  43.     <container id="main" height="32">
  44.         <layout class="arrange_vertical_attachment" alignment="bottom, extend" offset="0"/>
  45.         <layout class="stick_to_sides_attachment" alignment="horizontal" inset="0" layout_children="true" />
  46.  
  47.         <!-- main table -->
  48.         <container class="bordered_box" appearance="boxes/alt_border" styl="transparent,no_border">
  49.         
  50.             <widget class="table" id="list" sele="item" dcle="doub">
  51.                 <layout class="stick_to_sides_attachment" alignment="all" inset="12" />
  52.                 <flags id="layout" value="60, -14, -2, -4, 4"/>
  53.                 <flags id="mode" value="select_rows, select_multiple, fill_rows, keyboard" />
  54.  
  55.                 <boolean id="auto_size_rows" value="true"/>
  56.                 <flags id="heading_class" value="column_heading_blue" />
  57.                 <flags id="scroll_bar_class" value="scroll_bar_vertical_blue" />
  58.  
  59.                 <list id="headings">
  60.                     <record text="Type[COMMENT: file dialogs: file type, header]" alignment="centre,centre_y" />
  61.                     <record text="Name[COMMENT: file dialgos: file name, header]" alignment="left,centre_y" column_span="2" />
  62.                     <record text="Date[COMMENT: file dialgos: file date, header]" column_span="2" alignment="centre,centre_y" />
  63.                 </list>
  64.                 
  65.                 <list id="column_display_properties">
  66.                     <record index="0" id="icon" column_alignment="centre" auto_size="all"/>
  67.                     <record index="1" id="name" />
  68.                     <record index="2" id="type"/>
  69.                     <record index="3" id="date"/>
  70.                 </list>
  71.  
  72.                 <list id="column_properties">
  73.                     <record index="3" alignment="right"/>
  74.                 </list>
  75.             </widget>
  76.         </container>
  77.         
  78.         <!-- edit box for displaying/editing name -->
  79.         <container id="namp">
  80.             <layout class="arrange_horizontal_attachment" alignment="left, extend" />
  81.             <layout class="stick_to_sides_attachment" alignment="top" layout_children="1" />
  82.             <layout class="stick_to_sides_attachment" alignment="horizontal" inset="0"/>
  83.             <layout class="fit_children_attachment" alignment="vertical" />
  84.             <widget class="label" alignment="right" text="save as:" />
  85.             <widget class="edit_box" id="name">
  86.                 <attachment kind="lgfn" />
  87.                 <attachment kind="mxln" lgth="250" />
  88.                 <flags id="rtev" value="slct" />
  89.                 <flags id="chev" value="upbt" />
  90.                 <boolean id="afoc" value="true"/>
  91.             </widget>
  92.         </container>
  93.         
  94.         <!-- prompt -->
  95.         <container height="8" />
  96.         
  97.         <!-- row of buttons -->
  98.         <container id="btns" height="24">
  99.             <layout class="arrange_horizontal_attachment" alignment="left,extend" offset="0" />
  100.             <layout class="stick_to_sides_attachment" alignment="vertical" inset="0" layout_children="true" />
  101.             <container>
  102.                 <layout class="arrange_horizontal_attachment" alignment="left" offset="0"/>
  103.                 <layout class="stick_to_sides_attachment" alignment="bottom" inset="0" layout_children="true" />
  104.                 <layout class="fit_children_attachment" alignment="horizontal,fill" />
  105.                 
  106.                 <widget class="action_button_blue" id="newf" text="New Folder" auto_size="all">
  107.                     <record id="click_event">
  108.                         <flags id="event_id" value="new?" />
  109.                         <flags id="dialog_event" value="true" />
  110.                     </record>
  111.                 </widget>
  112.                 
  113.                 <widget class="action_button_blue" id="dele" text="Delete" auto_size="all">
  114.                     <record id="click_event">
  115.                         <flags id="event_id" value="del?" />
  116.                         <flags id="dialog_event" value="true" />
  117.                     </record>
  118.                 </widget>
  119.                 
  120.             </container>
  121.             
  122.             <container file="file select buttons">
  123.  
  124.  
  125.             </container>
  126.         </container>
  127.     </container>
  128. </panel>
  129.